SetSelect sets the current text selection for the given Text Edit handle without highlighting it.
The parameter theStart is the position in the text buffer of the first character in the new selection; the parameter theEnd is the position of the last character in the new selection. The hTE parameter is a handle to the TextEdit record that contains the text.
MacApp calls SetSelect from a variety of routines that manipulate and change text in TextEdit records. You can use this routine whenever you need to change the current text selection without highlighting it.